MAXREFDES82# Code Documentation
V01.00
Maxim Smart Force Sensor
Main Page
Modules
Files
File List
Globals
All
Files
Functions
Variables
Macros
Groups
Pages
GUIConf.c
Go to the documentation of this file.
1
/*********************************************************************
2
* Portions COPYRIGHT 2015 STMicroelectronics *
3
* Portions SEGGER Microcontroller GmbH & Co. KG *
4
* Solutions for real time microcontroller applications *
5
**********************************************************************
6
* *
7
* (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
8
* *
9
* Internet: www.segger.com Support: support@segger.com *
10
* *
11
**********************************************************************
12
13
** emWin V5.28 - Graphical user interface for embedded applications **
14
All Intellectual Property rights in the Software belongs to SEGGER.
15
emWin is protected by international copyright laws. Knowledge of the
16
source code may not be used to write a similar product. This file may
17
only be used in accordance with the following terms:
18
19
The software has been licensed to STMicroelectronics International
20
N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
21
les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
22
purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
23
troller products commercialized by Licensee only, sublicensed and dis_
24
tributed under the terms and conditions of the End User License Agree_
25
ment supplied by STMicroelectronics International N.V.
26
Full source code is available at: www.segger.com
27
28
We appreciate your understanding and fairness.
29
----------------------------------------------------------------------
30
File : GUIConf.c
31
Purpose : Display controller initialization
32
---------------------------END-OF-HEADER------------------------------
33
*/
34
54
#include "GUI.h"
55
56
/*********************************************************************
57
*
58
* Defines
59
*
60
**********************************************************************
61
*/
62
//
63
// Define the available number of bytes available for the GUI
64
//
65
#define GUI_NUMBYTES (1024) * 150
66
67
68
/*********************************************************************
69
*
70
* Public code
71
*
72
**********************************************************************
73
*/
74
/*********************************************************************
75
*
76
* GUI_X_Config
77
*
78
* Purpose:
79
* Called during the initialization process in order to set up the
80
* available memory for the GUI.
81
*/
82
void
GUI_X_Config
(
void
) {
83
//
84
// 32 bit aligned memory area
85
//
86
static
U32 aMemory[
GUI_NUMBYTES
/ 4];
87
//
88
// Assign memory to emWin
89
//
90
GUI_ALLOC_AssignMemory(aMemory,
GUI_NUMBYTES
);
91
//
92
// Set default font
93
//
94
GUI_SetDefaultFont(GUI_FONT_6X8);
95
}
96
97
/*************************** End of file ****************************/
Src
GUIConf.c
Generated on Mon Mar 21 2016 01:04:40 for MAXREFDES82# Code Documentation by
1.8.2